package com.sunshine.ssm.test.spring.circle;

/**
 * @Description: 循环依赖
 * @author: Hong.Wei
 * @Date: 2016/12/29 9:42
 */
public class CircleC {
    private CircleA circleA;

    public CircleC(){

    }

    public CircleC(CircleA circleA){
        this.circleA = circleA;
    }

    public void setCircleA(CircleA circleA) {
        this.circleA = circleA;
    }

    public void c(){
        circleA.a();
    }
}
